package com.lxmes.gs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 我的工时对象 gs_my_working_hours
 * 
 * @author wdf
 * @date 2023-04-24
 */
@Data
@TableName("gs_my_working_hours")
public class MyWorkingHours{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 项目编码 */
    @TableField(value = "project_code")
    private String projectCode;

    /** 项目名称 */
    @TableField(value = "project_name",condition = SqlCondition.LIKE)
    private String projectName;

    /** 任务编码 */
    @TableField(value = "task_code")
    private String taskCode;

    /** 任务名称 */
    @TableField(value = "task_name",condition = SqlCondition.LIKE)
    private String taskName;

    /** 任务类型 */
    @TableField(value = "task_type")
    private String taskType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "start_time")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "end_time")
    private Date endTime;

    /** 计划工时 */
    @TableField(value = "planned_working_hours")
    private Double plannedWorkingHours;

    /** 本期工时 */
    @TableField(value = "current_working_hours")
    private Double currentWorkingHours;

    /** 提报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "report_time")
    private Date reportTime;

    /** 累计工时 */
    @TableField(value = "accumulated_working_hours")
    private Double accumulatedWorkingHours;

    /** 预算费用 */
    @TableField(value = "budget")
    private Double budget;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;

    /** 是否审核 */
    @TableField(value = "audit")
    private String audit;


}
